import request from '@/utils/request'

// 查询学生列表
export function getAllDescribeOrganizationList(query) {
    return request({
        url: '/business/tencentLive/getAllDescribeOrganizationList',
        method: 'get',
        params: query
    })
}


export function getAllDeviceList(organizationId) {
    return request({
        url: '/business/tencentLive/getAllDeviceList?organizationId=' + organizationId,
        method: 'get'
    })
}

export function getDeviceDescribeDeviceChannel(deviceId) {
    return request({
        url: '/business/tencentLive/getDeviceDescribeDeviceChannel?DeviceId=' + deviceId,
        method: 'get'
    })
}

export function getControlDeviceStream(channelId) {
    return request({
        url: '/business/tencentLive/getControlDeviceStream?ChannelId=' + channelId,
        method: 'get'
    })
}

export function controlDevicePTZ(channelId, type, speed, region) {
    return request({
        url: '/business/tencentLive/controlDevicePTZ?ChannelId=' + channelId + "&Type=" + type + "&Speed=" + speed + "&Region=" + region,
        method: 'get'
    })
}


